home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Speccy ClassiX 1998
/
Speccy ClassiX 98.iso
/
amiga_system
/
the_aminet
/
dev
/
lang
/
python020.lha
/
python
/
README.Amiga
< prev
next >
Wrap
Text File
|
1995-10-29
|
2KB
|
34 lines
Short: Amiga Python (cf perl, REXX)
Uploader: "Geoff Fellows" <gfellows@csu.edu.au>
Author: Guido van Rossum (Amiga version: Geoff Fellows)
Version: 0.1
The Amiga version of Python-1.3 is based on the POSIX version like M$ NT.
You need SAS/C v6.5x. To make the executeable python.bin just use
the SMake command. This will also assign Python: as the current directory
for accessing the Lib directory and create the environment variable
PYTHONUNBUFFERED which allows the interactive prompt to appear before
input.
To test the binary file (python.bin because UNIX distinguished between
the sub-directory Python and the executable python) and then type "smake
test". It should eventually say the tests are all right.
These files needed modification:
Include/allobjects, compile.h, modsupport.h, osdefs.h, traceback.h
Modules/posixmodule.c(lots!), timemodule.c
Python/getargs.c getcompiler.c
I made SMakefile and SCOPTIONS files which you may want to adjust.
Note: If you take off Optimisation, the posixmodule will give lots of
undefined symbols. They aren't used and the Optimiser recognises that.
The source should be updated to not include those parts.
Also IEEE maths must be used, I spent a long time looking for a bug (map
test failed) which went away when I compiled with IEEE.
This a base version. It needs access to the Amiga Libraries. I tried
to make a version that uses sockets through AmiTCP but had problems with
a multiply-defined symbol: @__dostat.
Geoff: gfellows@csu.edu.au 29th October 1995